<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>

<html>
  <head>
    
    <title>readnote hello</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <h1>book list. </h1>
    	<br>
    
    <s:date format="yyyyMMdd" name="createTime"/>
	<s:form action="save.do" namespace="/admin/book/" method="post">
		<table >
			<tr>
				<th>序号</th><td><s:property value="book.id" /></td>
			</tr>
			<tr>
				<th>书名</th><td><s:textfield name="book.title" /></td>
			</tr>
			<tr>
				<th>描述</th><td><s:textfield name="book.content" /></td>
			</tr>
			<tr>
				<th>封面地址</th><td><s:textfield name="book.bookface" /></td>
			</tr>
		</table>
		
		<s:hidden name="book.id" />
		<input type="submit" value="保存" />
	</s:form>
  </body>
</html>
